<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="public/css/public.css"/>
</head>
<body>
	<!--miniHeader{{{-->
	<div class="s_miniHeader">
		<div class="headerBox">
			<div class="logo"><div style="padding:3px 0 0 0;"><a href="/"><img src="public/img/logo.png"/></a></div></div>
			<div class="nav">
				<?php include 'part/miniHeader.tpl.php'; ?>
			</div>
		</div>
	</div>
	<!--}}}-->

	<div class="s_main col2_21">
		<?php include 'part/left.tpl.php'; ?>

		<!--right{{{-->
		<div class="right">
			<div class="box fl" style="width:720px;">
				<div class="head">
					<div class="caption">
					<div class="title"><?php echo $title; ?></div>
					</div>
				</div>
				<div class="body">
				<?php if(!empty($data)){ ?>
					<ul class="list">
						<?php foreach($data as $k=>$v){ ?>
						<li>
							<span style="width:10px;"><input type="checkbox" name="id[]"/></span>
							<span style="width:40px;"><?php echo $v['id'];?></span>
							<span style="width:350px;"><?php echo $v['name'];?></span>
							<span><a href="?m=admin&c=index&a=datablock&id=<?php echo $v['id'];?>">编辑板块</a></span>
							<span><a href="?m=admin&c=index&a=dataUpdate&id=<?php echo $v['id'];?>">编辑数据</a></span>
							<span><a href="?m=admin&c=index&a=dataAdd&id=<?php echo $v['id'] ?>">更新模版</a></span>
							<span><a href="?m=admin&c=index&a=dataReview&id=<?php echo $v['id'] ?>" target="_blank">预览</a></span>
							<span><a href="?m=admin&c=index&a=dataList&o=del&id=<?php echo $v['id']; ?>">删除</a></span>
						</li>
						<?php } ?>
					</ul>
					<div class="page">
						<?php echo $wdb->page() ;?>
					</div>
				<?php
				}else{
					echo '暂无数据';
				}
				?>
				</div>
			</div>
		</div>
		<!--}}}-->
	</div>
</body>
</html>
